class SubmitOrderVo {
  
  SubmitOrderData? data;

  SubmitOrderVo({this.data});

  SubmitOrderVo.fromJson(Map<String, dynamic> json) {
    data = json['data'] != null ? new SubmitOrderData.fromJson(json['data']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.data != null) {
      data['data'] = this.data!.toJson();
    }
    return data;
  }
}

class SubmitOrderData {
  String? orderSn;
  int? userId;
  int? status;
  int? payStatus;
  String? updatedAt;
  String? createdAt;
  int? id;

  SubmitOrderData(
      {this.orderSn,
      this.userId,
      this.status,
      this.payStatus,
      this.updatedAt,
      this.createdAt,
      this.id});

  SubmitOrderData.fromJson(Map<String, dynamic> json) {
    orderSn = json['order_sn'];
    userId = json['user_id'];
    status = json['status'];
    payStatus = json['pay_status'];
    updatedAt = json['updated_at'];
    createdAt = json['created_at'];
    id = json['id'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['order_sn'] = this.orderSn;
    data['user_id'] = this.userId;
    data['status'] = this.status;
    data['pay_status'] = this.payStatus;
    data['updated_at'] = this.updatedAt;
    data['created_at'] = this.createdAt;
    data['id'] = this.id;
    return data;
  }
}
